#ifndef DERIVATA_H
#define DERIVATA_H

#include "clasabaza.cpp"
class Deriv: Baza{
	protected:int ani;
	public:
		Deriv(const int,const string&,const string&);
		void print()const;
		int getAni();
		void setP(const string&);
};

#endif
#ifndef DERIV2_H
#define DERIV2_H
class Deriv2: Deriv{
	string sex;
	public:
			Deriv2(const int,const string&,const string&,const string&);
			void setAni();
			void print();

};

#endif
